[INFO] cloning repository https://github.com/rhinoceraptor/bot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rhinoceraptor/bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frhinoceraptor%2Fbot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frhinoceraptor%2Fbot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 41f30c4a022da56c46152f15c47d7fa7e77902c6
[INFO] building rhinoceraptor/bot against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frhinoceraptor%2Fbot" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rhinoceraptor/bot on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rhinoceraptor/bot
[INFO] finished tweaking git repo https://github.com/rhinoceraptor/bot
[INFO] tweaked toml for git repo https://github.com/rhinoceraptor/bot written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/rhinoceraptor/bot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hyper v0.12.20
[INFO] [stderr]   Downloaded serde_json v1.0.35
[INFO] [stderr]   Downloaded syn v0.15.25
[INFO] [stderr]   Downloaded reqwest v0.9.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b3dc816266c2c2835802e0e6acc381b017889ab04747134a6c6135a06e8e0595
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b3dc816266c2c2835802e0e6acc381b017889ab04747134a6c6135a06e8e0595", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b3dc816266c2c2835802e0e6acc381b017889ab04747134a6c6135a06e8e0595", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3dc816266c2c2835802e0e6acc381b017889ab04747134a6c6135a06e8e0595", kill_on_drop: false }`
[INFO] [stdout] b3dc816266c2c2835802e0e6acc381b017889ab04747134a6c6135a06e8e0595
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c05c4a234502997d3d0cc82e88afce012d0eda5ad58f7f52b32804c68c58aacc
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c05c4a234502997d3d0cc82e88afce012d0eda5ad58f7f52b32804c68c58aacc", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling futures v0.1.24
[INFO] [stderr]    Compiling autocfg v0.1.1
[INFO] [stderr]    Compiling byteorder v1.2.6
[INFO] [stderr]    Compiling itoa v0.4.3
[INFO] [stderr]    Compiling serde v1.0.84
[INFO] [stderr]    Compiling openssl v0.10.12
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling native-tls v0.2.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.7
[INFO] [stderr]    Compiling indexmap v1.0.1
[INFO] [stderr]    Compiling ryu v0.2.6
[INFO] [stderr]    Compiling string v0.1.1
[INFO] [stderr]    Compiling encoding_rs v0.8.10
[INFO] [stderr]    Compiling openssl-probe v0.1.2
[INFO] [stderr]    Compiling dtoa v0.4.3
[INFO] [stderr]    Compiling num_cpus v1.8.0
[INFO] [stderr]    Compiling log v0.4.5
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_os v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling openssl-sys v0.9.36
[INFO] [stderr]    Compiling crossbeam-utils v0.6.3
[INFO] [stderr]    Compiling unicase v2.2.0
[INFO] [stderr]    Compiling proc-macro2 v0.3.8
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling uuid v0.7.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.5.2
[INFO] [stderr]    Compiling phf_shared v0.7.23
[INFO] [stderr]    Compiling syn v0.15.25
[INFO] [stderr]    Compiling ctrlc v3.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling phf_generator v0.7.23
[INFO] [stderr]    Compiling phf v0.7.23
[INFO] [stderr]    Compiling crossbeam-deque v0.6.1
[INFO] [stderr]    Compiling phf_codegen v0.7.23
[INFO] [stderr]    Compiling mio v0.6.16
[INFO] [stderr]    Compiling quote v0.5.2
[INFO] [stderr]    Compiling bytes v0.4.10
[INFO] [stderr]    Compiling base64 v0.10.0
[INFO] [stderr]    Compiling libflate v0.1.18
[INFO] [stderr]    Compiling mime_guess v2.0.0-alpha.6
[INFO] [stderr]    Compiling syn v0.13.11
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.4
[INFO] [stderr]    Compiling mime v0.3.9
[INFO] [stderr]    Compiling http v0.1.14
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling tokio-executor v0.1.5
[INFO] [stderr]    Compiling tokio-io v0.1.9
[INFO] [stderr]    Compiling want v0.0.6
[INFO] [stderr]    Compiling futures-cpupool v0.1.8
[INFO] [stderr]    Compiling tokio-timer v0.2.8
[INFO] [stderr]    Compiling tokio-current-thread v0.1.3
[INFO] [stderr]    Compiling url v1.7.1
[INFO] [stderr]    Compiling tokio-reactor v0.1.6
[INFO] [stderr]    Compiling tokio-tcp v0.1.2
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.84
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling crossbeam-channel v0.3.6
[INFO] [stderr]    Compiling h2 v0.1.12
[INFO] [stderr]    Compiling tokio-threadpool v0.1.10
[INFO] [stderr]    Compiling serde_json v1.0.35
[INFO] [stderr]    Compiling serde_urlencoded v0.5.3
[INFO] [stderr]    Compiling toml v0.4.10
[INFO] [stderr]    Compiling tokio v0.1.14
[INFO] [stderr]    Compiling hyper v0.12.20
[INFO] [stderr]    Compiling diesel_derives v1.3.0
[INFO] [stderr]    Compiling hyper-tls v0.3.1
[INFO] [stderr]    Compiling reqwest v0.9.8
[INFO] [stderr]    Compiling diesel v1.3.3
[INFO] [stderr]    Compiling bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/config.rs:24:64
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn read_config_file (filename: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                                ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/bot.rs:9:35
[INFO] [stdout]   |
[INFO] [stdout] 9 | type BotResult<T> = Result<T, Box<Error>>;
[INFO] [stdout]   |                                   ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/bot.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 |   client: Client,
[INFO] [stdout]    |           ^^^^^^ help: use `dyn`: `dyn Client`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/client.rs:3:42
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub type ClientResult<T> = Result<T, Box<Error>>;
[INFO] [stdout]   |                                          ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `client::Client` cannot be made into an object
[INFO] [stdout]   --> src/bot.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 |   client: Client,
[INFO] [stdout]    |           ^^^^^^ `client::Client` cannot be made into an object
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
[INFO] [stdout]   --> src/client.rs:6:6
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub trait Client {
[INFO] [stdout]    |           ------ this trait cannot be made into an object...
[INFO] [stdout] 6  |   fn new<T>(auth: T) -> Self;
[INFO] [stdout]    |      ^^^ ...because associated function `new` has no `self` parameter
[INFO] [stdout] help: consider turning `new` into a method by giving it a `&self` argument
[INFO] [stdout]    |
[INFO] [stdout] 6  |   fn new<T>(&self, auth: T) -> Self;
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] help: alternatively, consider constraining `new` so it does not apply to trait objects
[INFO] [stdout]    |
[INFO] [stdout] 6  |   fn new<T>(auth: T) -> Self where Self: Sized;
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `(dyn client::Client + 'static)` cannot be known at compilation time
[INFO] [stdout]    --> src/bot.rs:19:57
[INFO] [stdout]     |
[INFO] [stdout] 19  |   pub fn new(config: BotConfig, client: impl Client) -> BotResult<Bot> {
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `Bot`, the trait `Sized` is not implemented for `(dyn client::Client + 'static)`
[INFO] [stdout] note: required because it appears within the type `Bot`
[INFO] [stdout]    --> src/bot.rs:12:12
[INFO] [stdout]     |
[INFO] [stdout] 12  | pub struct Bot {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0038, E0277.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0038`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bot`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "c05c4a234502997d3d0cc82e88afce012d0eda5ad58f7f52b32804c68c58aacc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c05c4a234502997d3d0cc82e88afce012d0eda5ad58f7f52b32804c68c58aacc", kill_on_drop: false }`
[INFO] [stdout] c05c4a234502997d3d0cc82e88afce012d0eda5ad58f7f52b32804c68c58aacc
